package com.service.ljl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dao.ljl.Orderdetaildao;
import com.entity.Orderdetail;

@Service
@Transactional(rollbackFor=ServiceException.class)
public class orderdetailservice {
	@Autowired
	private Orderdetaildao orderdetaildao;
	
	public void add(Orderdetail orderdetail) {
		orderdetaildao.save(orderdetail);
	}

}
